def abs(n):
    """
    Function to get absolute value of number.

    Example:

    >>> abs(1)
    1
    >>> abs(-1)
    1
    >>> abs(0)
    0
    >>> abs(-91023)
    91023
    >>> abs()
    Traceback (most recent call last):
        ...
    TypeError: abs() takes exactly 1 argument (0 given)
    """

    return n if n >= 0 else (-n)

